from django.conf.urls.defaults import *
from django.conf import settings

urlpatterns = patterns(
    '',
    # Example:
    # (r'^djangomud/', include('djangomud.foo.urls')),
    )

if settings.ENABLE_DJANGO_ADMIN:
    from django.contrib import admin
    admin.autodiscover()

    urlpatterns += patterns(
        (r'^admin/doc/', include('django.contrib.admindocs.urls')),
        (r'^admin/', include(admin.site.urls)),
        )
